package com.restkeeper.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.restkeeper.store.entity.SetMeal;
import com.restkeeper.store.entity.SetMealDish;

import java.util.List;

/**
 * @ClassName: ISetMealService
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2023Year-05Month-18Day-11:21
 * @Version: 1.0
 */
public interface ISetMealService extends IService<SetMeal> {
    IPage<SetMeal> queryPage(int pageNum, int pageSize, String name);

    boolean add(SetMeal setmeal, List<SetMealDish> setMealDishes);

    boolean update(SetMeal setMeal, List<SetMealDish> setMealDishes);
}
